<%@ page language="java" pageEncoding="UTF-8"%>
<!DOCTYPE html>
<%@taglib prefix="s" uri="/struts-tags" %>
<html>
<head>
<jsp:include page="./common/common.jsp"></jsp:include>
<title></title>
</head>
<body>
<div data-role="page" id="allFoodInfoView" data-title="allFoodInfoView">
<script type="text/javascript" src="../js/allFoodInfoView.js"></script>
  <div data-role="header" data-position="inline">
    <h1></h1>
    <a data-icon="delete">返回</a>
  </div>
  <div data-role="content">
    <%-- loop of foodtype --%>
    <div data-role="listview" data-inset="true" data-filter="false">
      <s:iterator value="ftLst" id="ft">
        <li data-role="list-divider"><s:property value="name"></s:property></li>
        <li>
          <fieldset data-role="controlgroup" data-type="horizontal">
            <s:iterator value="foodInfos" id="fd">
              <input type="checkbox" name="orders" id="<s:property value="id"></s:property>"></input>
              <label for="<s:property value="id"></s:property>">
                <img src="<s:property value="backup1"/>" class="ui-li-icon"><br/>
                <s:property value="name"></s:property><br/>
                <s:property value="price"></s:property>
              </label>
            </s:iterator>
          </fieldset>
        </li>
      </s:iterator>
    </div>
  </div>
   <s:hidden name="fromPage"></s:hidden>
    <div data-role="footer" data-position="fixed">
        <h1></h1>
    </div>
</div>
</body>
</html>